package com.example.mybatisplusproject.endecrypt;

import java.io.IOException;
import java.lang.reflect.Field;

/**
 * @author zls
 * @date 2021/8/1 8:58 下午
 * 加解密接口
 */
public interface IEncryptDecrypt {
    /**
     * 加密
     * @param fields
     * @param parameterObject
     * @throws IllegalAccessException
     */
    void encrypt(Field[] fields, Object parameterObject) throws IllegalAccessException;

    /**
     * 解密
     * @param parameterObject
     * @throws IllegalAccessException
     */

    void decrypt(Object parameterObject) throws IllegalAccessException;
}
